package com.platform.oss.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.oss.entity.Oss;
import org.springframework.web.multipart.MultipartFile;

import java.io.OutputStream;


public interface OssService extends IService<Oss> {
    //上传头像到oss
    String uploadFileAvatar(MultipartFile file);
    //设置删除
    void DeleteFile(String filename);
    //根据文件名下载
    void downloadfile(OutputStream os, String filename);

}
